projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b033f7a
)
(Ftry_completion): Don't short circuit if completion-ignore-case is
author
Chong Yidong
<cyd@stupidchicken.com>
Thu, 8 Mar 2007 14:34:11 +0000
(14:34 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Thu, 8 Mar 2007 14:34:11 +0000
(14:34 +0000)
non-nil.
src/minibuf.c
patch
|
blob
|
history
diff --git
a/src/minibuf.c
b/src/minibuf.c
index 5bb91cf73482baf6db33c38e36b0087a38a1f269..1c2cfc4530678bab42c98f11cf9e8f67d856e88b 100644
(file)
--- a/
src/minibuf.c
+++ b/
src/minibuf.c
@@
-1483,6
+1483,10
@@
is used to further constrain the set of candidates. */)
matchcount++;
bestmatchsize = matchsize;
if (matchsize <= SCHARS (string)
+ /* If completion-ignore-case is non-nil, don't
+ short-circuit because we want to find the best
+ possible match *including* case differences. */
+ && !completion_ignore_case
&& matchcount > 1)
/* No need to look any further. */
break;